package com.whut.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.whut.entity.Admin;

import java.time.LocalDateTime;
import java.util.Date;

public interface AdminService extends IService<Admin> {
    boolean login(String username, String password);

    void updateLoginTime(String username, LocalDateTime date);
}
